.varan-switch {
  position: relative;
  font-feature-settings: 'tnum';
  list-style: none;
  margin: 0;
  padding: 0 4px;
  width: 55px;
  min-width: 45px;
  box-sizing: border-box;
  display: inline-block;
  height: 22px;
  border-radius: 100px;
  transition: all 0.2s;
  border: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: 12px;
  color: #fff;
  overflow: hidden;
}

.varan-switch-text {
  position: absolute;
  left: 6px;
  transition: all .2s ease-in-out;
}

.varan-switch-radio {
  position: absolute;
  left: 2px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background-color: #fff;
  transition: all 0.2s ease-in-out;
}

.varan-switch-open {
  background-color: var(--varan-primary-color);
}
.varan-switch-close {
  background-color: #00000040;
}

.varan-switch-disabled {
  user-select: none;
  cursor: not-allowed;
  opacity: .4;
}